package o;

import android.content.res.ColorStateList;
import android.view.View;
import android.widget.ImageView;
import java.lang.ref.WeakReference;

public class qn extends SkinAttr {

    static final class d extends fkz<SkinAttr, ColorStateList> {
        private WeakReference<ImageView> ˏ;

        public /* synthetic */ void ॱ(Object obj) {
            ˏ((ColorStateList) obj);
        }

        private d(ImageView imageView) {
            this.ˏ = new WeakReference(imageView);
        }

        public void ˏ(ColorStateList colorStateList) {
            ImageView imageView = (ImageView) this.ˏ.get();
            if (imageView != null) {
                fpj.ॱ(imageView, colorStateList);
            }
        }
    }

    public qn() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof ImageView) {
            ImageView imageView = (ImageView) view;
            if ("color_state_list".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "color_state_list";
                fks.ˎ(view.getContext(), this, new d(imageView)).ॱ(z);
            }
        }
    }
}
